Hide options if users clicks outside controls