Added check to fix dialog issue that was stopping the ability to add users in Mint
Fixes https://github.com/redbox-mint/mint/issues/15