Is nesting modals considered a good practice and what are the alternatives?

Within an editor, I open a slide-up panel to manage some assets, but I would also need to add some additional assets. Which would bring me to adding a second layer on top of the first one.

Would it be ok to have this second layer? Are there any alternatives to this approach?

Thanks