both button and enter append