Unfortunately I disagree with [MENTION=880767]AleTrail[/MENTION]. The rule for an open jaw booking is that the geographic distance between your original landing airport and your new departure airport must be SHORTER than either of the two flights.
So the distance between MIA and DUB must be less than the distance between MIA and LHR but also less than the distance between LHR and DUB which it isn't.