Only call transition reset on modal dimmer hide when module available
Merge pull request #627 from robertoles/master

Closing a modal throws an error when the transitions module isn't available