hopefully getting rid of red warning text re: Dialog