changed permissions window buttons, they are now jquery buttons.

Closes #472