add actions implemntation for popup