Corrected behavior of modal name input field