NPE: fix FC on screen rotation when eventdialog is displayed