update style of modal