ticket:6 display 'Changes have been saved.' if there are no any errors
ticket:6 added spaces
ticket:6 do not redirect if request is ajax