update modal directive with code from Sport Admin