Strange Customer Search behavior on Advanced Delivery

I’ve found the issue which is caused by my implementation to get rid of the entity tab screen and do all navigations from the main navigation screen.
Therefore on all these screens I navigate back to the originating screen of a particular command.
E.g. I call the ‘delivery screen’ using a command button on the main navigation. I select a customer on the ‘delivery screen’ and press ‘Select Customer’. This creates a ‘Delivery Ticket’. After closing this ticket I navigate back to the ‘delivery screen’ with a Ticket Closed rule. Because of the issue I have put a ‘show message’ into this rule and noticed that in effect Samba shows first the POS Table Entity screen and by doing this changes the active ticket type to Ticket bc this type is associated with the . table entity or active department. This screen does not appear without the Show Message.

My work around here is to change back the active ticket type to ‘delivery ticket’ and then it works.
But in my humble opinion this behavior of Samba is semantically not correct. The close button on a modal dialog, which the TicketView becomes in that instance should lead back to the origin. This is what every user would expect.