dialog works?+plusplus