proper support of hide and close