Fix action link alert from showing up when it wasn't supposed to

Unfortunately, ng-show and ng-hide don't work together nicely.

#1031