add permissions
production: auto close dropdown