Fix page delete
fix a bug in which clicking delete page incurs more and more events on subsequent clicks
remove unnecessary function argument