Fixed navigating away from dirty forms