clears input field after valid URL submission