Fixed the hidden cancel button