Alerts when editing permissions, fixes #498

This uses Bootstrap 3's `hidden` class and the jQuery `removeClass()` and `addClass()` methods instead of `show()` and `hide()`.