Fix ui actions for dialogs created in route methods