Stability and dynamics of magnetocapillary interactions.