Fix focus behavior on show/hide from add-on or input

Fix focus behavior on show/hide from add-on or input, based on work of #188
Fixed behavior :
- on click on add-on, the corresponding input get focus
- on hide of picker ESCAPE or selction+autoclose, input get focus
- on click on input, the picker is displayed but input keeps focus (including in modal container case)