Error checking - instance already exists

Added error checking to alert if an instance already exists and gives
the user an option to overwrite the instance if desired.