first working commit
implemented accept/cancel buttons, renamed some events for easy identif.