mas formatting of modal
popup flip-flop