fixed form resets on modal click