URL input dialog: trim URL.