main_dialog.py: Add a warn dialog if no file is choosed

Signed-off-by: Dong Zhu <bluezhudong@gmail.com>