New APIs: fm_side_pane_get_mode_name() and fm_side_pane_get_mode_by_name()

Those APIs can be used for config save/load purposes in compatible ways.
File properties dialog extension should finish before dialog own processing.