Add clear button and redirect cursor to form