Implemented close action
Implemented export action