cleanup form modal