noficiation packages and improved with cleartimeout
create new redirect to document; impoved deletion button logic