A quick and dirty fix for the cancel button