fix loading icon on permissions and message modals