Get rid of safe_interface usage in function_options_dialog.py.