[DF-2467] add enum for button position in BaseAddEntityDialog