fixes #5559
Merge pull request #5567 from dotCMS/issue-5559-site-browser-host-changing-when-editing-and-cancel-any-host

fixes #5559