Insert media dialog is working