Refactoring a bit.

- className attribute
- remove default close button