added click handler for removing pool