modal fixes