Also reset margins when destroying modal