edit dialod

min, max and close actions