Fix to special case Dispose method to be treated as non-action

#1294
@rynowak @yishaigalatzer 
Sure, didn't want to make this change disruptive as this already existed. I can refactor this.