Added alert notice for expand and collapse functions.