Fix #1388 #1389 #1390 #1391 - show state of profile properly on dialog open
Merge pull request #1399 from timlinux/fix-1388-1391

Fix #1388 #1389 #1390 #1391