handle accept and dismiss seperatly