fixed issue with treatment drawer open check