framework for creating a transaction modal dialogue