I've had this a few times in the past, which I never could find the cause for. Today it happened again, and I think I now know the cause, namely using copy & pasting a lot. Using it a lot makes each modal window hang at which point the IDE starts doing very strange things (and generally not responding).