Dragons send McGregor out an NRL winner