Fixed bug that was causing a file/result to be tagged even after
the user cancels the tag creation dialog. This only happened after
the user had previously created a tag.