more more work on media dfialog