removed extra buttons from dialog boxes