JAL-3048 remove obsolete way of handling dialogs in JalviewJS