notebook caching / alerts when input fields empty