added possibility to specify buttons order in dialog per metod call