Dont open preference dialog when select method is called. Fixes #826