added two buttons dialog