Added some functions for most of the cancel buttons