feature: dynamical modals
 - dynamic upload modal from server side
 - remove add_element/update_element modal after hidden.
feature: some changes

 - Add function for get list of used config paths
 - Remove used paths from paths list on add element modal
refactoring