Closing window with close icon should cancel, not just close
v1.3.0