Fixed modal display issue.