"Accept" and "Cancel" buttons implemented