Added Tabs permissions
Autoselect input on popup
Various changes