input borders in dialogs