PMO-2644 action called twice when setDefaultAction on dialog is used.