On mobile, the cancel button works as a submit button.