more work on media dialog