LPS-41059 fix redirection when deleting a layout from the side bar