#393 fixed broken cancel button