Checks if no classes added and displays pop up.