Replaced Dialog member with singleton in Test
testUndoIsShowing, testRedoIsShowing
testDialogIsNotCancelable