To be honest, I'm not sure it's worth leaving DUB and then re-clearing security for that short period of time. To go into Dublin, you'll have to take a bus and with the traffic at that time, it can take up to an hour. So by the time you get in to town, and the time you need to start getting back in order to clear security etc - it doesn't leave much time.