Modal window layout cleanup