replaced wp_die with dismissable admin notices