Probably too late now, but there's not much night transport between the two unfortunately. The 704x is at either 1am or 7am (from Dublin City centre), while the 707 (GoBus) is at 1am (non-stop from the airport) or 6am (Dublin city centre). Hope you managed to sort something out!