Fixed modal reload prevention