Add success message when opening/closing class