Added layout type in modal box