flag modal fix

fix #182 
#fix Missing X button for flag modal