Removed saveDialog and replaced with bootstrap modal