remove showdialog actions and its references in the code