Fixes: #2863 some problems in DialogAttributes