[master] implemented the dialog fragments still need to check if they work properly.