Added new, reset and cancel buttons for dialog box