Close old recent_commits dialog in action handler instead of via button

This prevents a gap in display and the dialog "flashing"
Also, remove any lingering `.backdrop`'s here as well