implements fetch dialog