move msgbox to the front of the input field