add open close function in sell post