Displays a prompt if you try and leave a page without having completed all components.