Factor modal remove form.