Updated cancel button behavior for account pages
Updated cancel button behavior for account pages

no issue

- By default, Cancel button on Account plan/profile pages goes back to last open page like accountHome
- In case the page is opened directly via custom trigger button, there is no last open page so the popup didn't close
- Closes popup for back actions in case no last page is found

TryGhost/Ghost,TryGhost/Ghost,TryGhost/Ghost