Added support for redirection of the edit page [#2]