changing button to a tag so that cancel is not pressed when user types password and presses return