Component behavior is not appropriate after deleting it

Hi bricks team,

If we are in the component settings and for any reason we delete it, there are problems. Please watch the video below.

As a suggestion, in this situation it would be better if after deleting the component, the parent component’s layout becomes selected.