modify modal view delegate