Revert "fix name replace space problem"

This reverts commit 401e028a95f8005c978638d44dd89624cfbf0d7d.
fix name replaced problem
enable modal behavior
cancel action when choose cancel on save dialog
fix can't input space on candidate field
fix to create same name package