protected void popNavigationStack(){
  if (baseFormNavigationStack != null && baseFormNavigationStack.size() > 0) {
    baseFormNavigationStack.removeElementAt(baseFormNavigationStack.size() - 1);
  }
}

protected void popNavigationStack ( ) { if ( baseFormNavigationStack != null && baseFormNavigationStack . size ( ) > 0 ) { baseFormNavigationStack . removeElementAt ( baseFormNavigationStack . size ( ) - 1 ) ; } }
removes a navigation frame from the stack , this is useful in case you want to go back to a form in the middle of the navigation stack .
