[UX] Disable buttons if form is empty

#### What does this PR do?

This PR disables buttons if form input is empty on various places:

* Do not search on network graph for empty SHA
* Do not remove file when no commit message
* For a new file, both commit message and filename need to be entered

Currently, on all these places a stale UI happens because these actions are not allowed