work on cancelButton ;)