Refactored & added confirmation dialog

Prompts if the gist already exits