New parents agree to tie the knot after neonatal unit proposal