button work for popup