Removed double dialog dependency