editing modal layout