prevent opening of a disabled select via api. fixes #1272