add warning when delete notebook