added method to show dialog allowing stateloss
Merge branch 'showAllowingStateLoss'
wta specific gradle stuff