add export btn and dialog
Merge branch 'master' of https://github.com/thx/RAP