Save and restore geometry for action dialog