use warning box to warn of loss of users' data
Merge pull request #486 from mtbc/rebased/develop/warn-data-loss

put permissions warning into a proper warning box (rebased onto develop)