fixes #61 warn users before navigating away from draft