Added clickoutside for dropdown