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

put permissions warning into a proper warning box