have only one dropdown open at a time, fix #8
fix unregister method