Outsourced view expiry dialog to ensure message is always displayed