Fixed deletion with the remote API usage + added confirmation when deleting a template
Fixes #85