Added cancel option for creating things that ask for a name

Fix for issue #517