Refactored record type delete confirmation handler to be part of record type edit module