Push dialog remembers last Recurse Submodules options

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>
Fixed small optical glitch

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Correctly deallocate buffer

Thanks to XhmikosR for spotting this.

Signed-off-by: Sven Strickroth <email@cs-ware.de>