bugs with modal popup