prevent patient dashboard page from autosumbmitting itself