modal form error resolved