set export dialog to modal