Modified form submit behaviour