form modal clears on submission now