adding a logic for bypassing a visual container to the mediators