fixes issue #16 - adding canceling button