close figure with type UUID as figure number

if we can create a figure with a number that is type UUID,
then it is reasonable to be able to close the figure with it as well.