Readded options. Added undo button to dialog box