change button style to flat on popup dialog