Adding confirmation message to Unregister function