general modal moved to the layout view