ActionDialog: fix possible NPE (actually I don't understand why THIS may
be null :/)