Id change of filter text field and change of how adapter is added to the dialog
Fixed bug where list would not close when item was clicked