Add a closeall() function to close all open notifications