The permissions should not be in the modal-footer. The modal-footer is restricted to buttons only.