add hints and close button