modal appears to be working