adding ability to close the dropdown through data binding