on click for accept and deny