DAR-2604: making modal close method private, use events to close it