Add clear method for modal dialogue