KRACOEUS-7641 : Check for errors before navigating to new page