Stage submodule in commit dialog fixed for some situations