Fix redirect when submit dialog
Merge pull request #31 from Xefir/master

Fix redirect when submit dialog