modal reloaded to dialog