added text input and cancel/open buttons