fix for broken modal view