Refresh/expand appropriate tree node when creating a resource using "quick create"

### What does it do ?

Refresh (& expand) the appropriate tree node when creating a resource using the "quick create" window.
Additionally, makes use of an existing function, removing some code duplication.

### Why is it needed ?

Previously, the parent node was refreshed and expanded, while it should have been the currently selected node (the one in which we want to create a new resource).

### Related issue(s)/PR(s)

* #6561
* #8328
* #11633