modal fix attempt 2