Handle resources in storage mode from yaml mode. How to?

I need an help about resources.
Actually i have in my lovelace.yaml the following:

resource_mode: yaml

But i’d like to have the chance to handle the resources directly from the UI.
How to migrate the yaml resources into the storage mode?

I tried to change into

resource_mode: storage

but after the restart in the UI resources i got only few entries and not all i have in YAML mode. Do i need to add manually all the resources i have in YAML mode to storage one or there is a way to do it automatically?