Form is hanging a browser tab