EZP-23336 - implemented user custom redirection functionality on publish, on discard changes and on close actions