Added close button when creating a class