Fixed details not closing.