cancel link now closes the dialog. closes #23