changed cancel button from if-check to the button command