opens folder structure if closed when add new is clicked.
added warning to force save before adding of new elements