fix: browser history for change password dialog
Created by: HejdaJakub
- There was a bug during the process of changing password - when user is in the dialog and finish the it by clicking on Cancel or Confirm, then the browser back button behaves incorrectly.