hide details container when form apears