modal when flashes