adding missed class in dismiss and alerts example