updated modal dialogue